package org.yanfengying.pay.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.yanfengying.utils.domain.BastDomain;

/**
 * <p>
 * 用户支付流水
 * </p>
 *
 * @author yanfengying
 * @since 2022-11-01
 */
public class AccountFlow extends BastDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private Long createTime;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户姓名
     */
    private String nickName;
    /**
     * 金额
     */
    private BigDecimal money;
    /**
     * 支付方式
     */
    private Integer type;
    /**
     * 业务类型
     */
    private String businessType;
    /**
     * 业务名
     */
    private String businessName;
    /**
     * 关联业务键
     */
    private Long businessKey;
    private Integer payChannel;
    private String payChannelName;
    /**
     * 备注
     */
    private String note;
    private String digest;
    /**
     * 统一支付单号
     */
    private String unionPaySeq;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public Long getBusinessKey() {
        return businessKey;
    }

    public void setBusinessKey(Long businessKey) {
        this.businessKey = businessKey;
    }

    public Integer getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(Integer payChannel) {
        this.payChannel = payChannel;
    }

    public String getPayChannelName() {
        return payChannelName;
    }

    public void setPayChannelName(String payChannelName) {
        this.payChannelName = payChannelName;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getUnionPaySeq() {
        return unionPaySeq;
    }

    public void setUnionPaySeq(String unionPaySeq) {
        this.unionPaySeq = unionPaySeq;
    }

    @Override
    public String toString() {
        return "AccountFlow{" +
        ", id=" + id +
        ", createTime=" + createTime +
        ", userId=" + userId +
        ", nickName=" + nickName +
        ", money=" + money +
        ", type=" + type +
        ", businessType=" + businessType +
        ", businessName=" + businessName +
        ", businessKey=" + businessKey +
        ", payChannel=" + payChannel +
        ", payChannelName=" + payChannelName +
        ", note=" + note +
        ", digest=" + digest +
        ", unionPaySeq=" + unionPaySeq +
        "}";
    }
}
